package com.pkk.spring.cloud.service.rpc.request;

import com.pkk.spring.cloud.service.rpc.page.Page;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 分页查询
 *
 * @author peikunkun
 * @version V1.0
 * @date 2021-01-06 14:27
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
//Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '(callSuper=false)' to your type.
@EqualsAndHashCode(callSuper = false)
public class PagedRequestBody<T> extends RequestBody<T> {

  private static final long serialVersionUID = -8525018210375702990L;

  /**
   * 分页信息
   */
  private Page page;
}
